package com.zhengbing.tj.design.chain;

/**
 * 责任链模式-抽象处理者
 *
 * @author zhengbing
 * @date 2025-07-21
 */
public abstract class Handler {
    protected Handler next;

    public Handler setNext(Handler next) {
        this.next = next;
        return next;
    }

    public abstract void handle(String request);
} 